source/dqml/qabstractitemmodel.d(96,46): Error: cast from `dqml.qabstractitemmodel.QAbstractItemModel` to `void*` not allowed in safe code source/dqml/qabstractitemmodel.d(163,44): Error: `roles.ptr` cannot be used in `@safe` code, use `&roles[0]` instead source/dqml/qabstractitemmodel.d(171,22): Error: cast from `void*` to `dqml.qabstractitemmodel.QAbstractItemModel` not allowed in safe code source/dqml/qabstractitemmodel.d(180,22): Error: cast from `void*` to `dqml.qabstractitemmodel.QAbstractItemModel` not allowed in safe code source/dqml/qabstractitemmodel.d(190,22): Error: cast from `void*` to `dqml.qabstractitemmodel.QAbstractItemModel` not allowed in safe code source/dqml/qabstractitemmodel.d(204,22): Error: cast from `void*` to `dqml.qabstractitemmodel.QAbstractItemModel` not allowed in safe code source/dqml/qabstractitemmodel.d(213,22): Error: cast from `void*` to `dqml.qabstractitemmodel.QAbstractItemModel` not allowed in safe code source/dqml/qabstractitemmodel.d(224,22): Error: cast from `void*` to `dqml.qabstractitemmodel.QAbstractItemModel` not allowed in safe code source/dqml/qabstractitemmodel.d(235,22): Error: cast from `void*` to `dqml.qabstractitemmodel.QAbstractItemModel` not allowed in safe code source/dqml/qabstractitemmodel.d(248,22): Error: cast from `void*` to `dqml.qabstractitemmodel.QAbstractItemModel` not allowed in safe code source/dqml/qabstractitemmodel.d(257,22): Error: cast from `void*` to `dqml.qabstractitemmodel.QAbstractItemModel` not allowed in safe code source/dqml/qabstractitemmodel.d(266,22): Error: cast from `void*` to `dqml.qabstractitemmodel.QAbstractItemModel` not allowed in safe code source/dqml/qabstractitemmodel.d(274,22): Error: cast from `void*` to `dqml.qabstractitemmodel.QAbstractItemModel` not allowed in safe code source/dqml/qabstractitemmodel.d(282,22): Error: cast from `void*` to `dqml.qabstractitemmodel.QAbstractItemModel` not allowed in safe code source/dqml/qabstractlistmodel.d(60,58): Error: cast from `dqml.qabstractlistmodel.QAbstractListModel` to `void*` not allowed in safe code source/dqml/qabstracttablemodel.d(55,47): Error: cast from `dqml.qabstracttablemodel.QAbstractTableModel` to `void*` not allowed in safe code source/dqml/qcoreapplication.d(11,36): Error: `@safe` function `dqml.qcoreapplication.QCoreApplication.applicationDirPath` cannot call `@system` function `std.string.fromStringz!char.fromStringz` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/string.d(222,15): `std.string.fromStringz!char.fromStringz` is declared here source/dqml/qhashintbytearray.d(37,36): Error: `@safe` function `dqml.qhashintbytearray.QHashIntByteArray.value` cannot call `@system` function `std.string.fromStringz!char.fromStringz` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/string.d(222,15): `std.string.fromStringz!char.fromStringz` is declared here source/dqml/qmetaobject.d(124,61): Error: `@safe` function `dqml.qmetaobject.QMetaObject.mallocDefinitions` cannot call `@system` function `dqml.qmetaobject.mallocArray!(DosSignalDefinition).mallocArray` source/dqml/qmetaobject.d(8,4): `dqml.qmetaobject.mallocArray!(DosSignalDefinition).mallocArray` is declared here source/dqml/qmetaobject.d(129,46): Error: pointer arithmetic not allowed in @safe functions /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.